<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
    <div th:replace="common/top">
    </div>

    <div id="Content">
        <div id="Catalog">
            <h2 th:text="${order.orderid}">OrderID</h2>

            <table class="altrowstable">
                <tr>
                    <td>UserID</td>
                    <td th:text="${order.userid}"></td>
                </tr>
                <tr>
                    <td>OrderDate</td>
                    <td th:text="${order.orderdate}"></td>
                </tr>
                <tr>
                    <td>ShipAddress1</td>
                    <td th:text="${order.shipaddr1}"></td>
                </tr>
                <tr>
                    <td>ShipAddress2</td>
                    <td th:text="${order.shipaddr2}"></td>
                </tr>
                <tr>
                    <td>ShipCity</td>
                    <td th:text="${order.shipcity}"></td>
                </tr>
                <tr>
                    <td>ShipState</td>
                    <td th:text="${order.shipstate}"></td>
                </tr>
                <tr>
                    <td>ShipZip</td>
                    <td th:text="${order.shipzip}"></td>
                </tr>
                <tr>
                    <td>ShipCountry</td>
                    <td th:text="${order.shipcountry}"></td>
                </tr>
                <tr>
                    <td>BillAddress1</td>
                    <td th:text="${order.billaddr1}"></td>
                </tr>
                <tr>
                    <td>BillAddress2</td>
                    <td th:text="${order.billaddr2}"></td>
                </tr>
                <tr>
                    <td>BillCity</td>
                    <td th:text="${order.billcity}"></td>
                </tr>
                <tr>
                    <td>BillState</td>
                    <td th:text="${order.billstate}"></td>
                </tr>
                <tr>
                    <td>BillZip</td>
                    <td th:text="${order.billzip}"></td>
                </tr>
                <tr>
                    <td>BillCountry</td>
                    <td th:text="${order.billcountry}"></td>
                </tr>
                <tr>
                    <td>Courier</td>
                    <td th:text="${order.courier}"></td>
                </tr>
                <tr>
                    <td>Total Price</td>
                    <td th:text="${order.totalprice}"></td>
                </tr>
                <tr>
                    <td>BillToFirstName</td>
                    <td th:text="${order.billtofirstname}"></td>
                </tr>
                <tr>
                    <td>BillToLastName</td>
                    <td th:text="${order.billtolastname}"></td>
                </tr>
                <tr>
                    <td> &nbsp; ShipToFirstName &nbsp;</td>
                    <td th:text="${order.shiptofirstname}"></td>
                </tr>
                <tr>
                    <td>ShipToLastName</td>
                    <td th:text="${order.shiptolastname}"></td>
                </tr>
                <tr>
                    <td>Credit Card</td>
                    <td th:text="${order.creditcard}"></td>
                </tr>
                <tr>
                    <td>ExprDate</td>
                    <td th:text="${order.exprdate}"></td>
                </tr>
                <tr>
                    <td>CardType</td>
                    <td th:text="${order.cardtype}"></td>
                </tr>
                <tr>
                    <td>Locale</td>
                    <td th:text="${order.locale}"></td>
                </tr>
            </table>
        </div>

        <table th:align="center">
            <tr>
                <td>
                    <a class="Button" th:href="'/order/edit?orderid=' + ${order.orderid}"> 修改订单 </a>
                </td>
                <td>
                    <a class="Button" href="/order/all"> 返回总览 </a>
                </td>
            </tr>
        </table>
    </div>

    <div th:replace="common/bottom">
    </div>
</body>
</html>